package com.sn.campus.entity;

import java.net.Socket;
import java.util.List;

/**
 * @ProjectName: springboot_socket
 * @Package: com.sn.socket.controller
 * @ClassName: ${CLASS_NAME}
 * @Author: xiahuihui
 * @Description: ${description}
 * @Date: 2020/5/12 0012 15:25
 * @Version: 1.0
 */

public class Operat extends Socket {

    private List<String> deviceId;

    private String command;

    private String frequency;

    private String time;

//    private String port;


    public List<String> getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(List<String> deviceId) {
        this.deviceId = deviceId;
    }

    public String getCommand() {
        return command;
    }

    public void setCommand(String command) {
        this.command = command;
    }

    public String getFrequency() {
        return frequency;
    }

    public void setFrequency(String frequency) {
        this.frequency = frequency;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "Operat{" +
                "deviceId='" + deviceId + '\'' +
                ", command='" + command + '\'' +
                ", frequency='" + frequency + '\'' +
                ", time='" + time + '\'' +
                '}';
    }
}
